package com.example.logistics_oa;

//import com.example.logistics_oa.controller.util.GetDate;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigurationExcludeFilter;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.TypeExcludeFilter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * @Description:
 * @Author:李博文
 * @Date:2022/9/27 11:49
 */

@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan(
        excludeFilters = {@ComponentScan.Filter(
                type = FilterType.CUSTOM,
                classes = {TypeExcludeFilter.class}
        ), @ComponentScan.Filter(
                type = FilterType.CUSTOM,
                classes = {AutoConfigurationExcludeFilter.class}
        )},basePackages = {"com.example.comment_oa.aspact","com.example.logistics_oa"}
)
@EnableDubbo(scanBasePackages = "com.example.logistics_oa.dubbo")
public class LogisticsOaApplication {
    public static void main(String[] args){
        SpringApplication.run(LogisticsOaApplication.class, args);

    }
}